package com.onlyyou.cart.service;

import com.onlyyou.cart.entity.Cart;

import java.util.List;
import java.util.Map;

/**
 * @Author: 小野
 * @Date: 2020/1/15 9:39
 */
public interface CartService {

    Integer rows();

    Map<String,Object> findAll(Integer page, Integer limit);

    List<Cart> findByUserId(Cart cart);

    Cart save(Cart cart);

    Cart update(Cart cart);

    void delete(Cart cart);


}
